package com.jcooky.tutorfs.proxy.processor.scheduled;

import java.util.concurrent.ExecutorService;

import org.apache.mina.core.session.IoSession;

import com.jcooky.tutorfs.proxy.processor.MessageProcessor;
import com.jcooky.tutorfs.proxy.processor.ProcessException;
import com.jcooky.tutorfs.proxy.protocol.AbstractMessage;

public interface ScheduledProcessor<T extends AbstractMessage> extends MessageProcessor<T> {

	public abstract void setThreadPool(ExecutorService threadPool);
	public abstract void process(IoSession session, T requestMessage) throws ProcessException;
}
